package com.audi.dto;

import java.io.Serializable;

/**
 * @author CuongPH7
 * @see SmartTriggerItem
 * @see SmartTriggerWhenItem
 * @see SmartTriggerTriggerItem
 */
public class SmartTriggerWhenTriggerItem implements Serializable {
    private int smartTriggerId;
    private static final long serialVersionUID = 4240035105996260073L;
    private int whenId;
    private int triggerId;
    private int onOff;
    private int noti;
    private String whenTriggerName;
    
    public SmartTriggerWhenTriggerItem() {
        super();
    }
    
    public SmartTriggerWhenTriggerItem(int whenId, int triggerId, int onOff,
            String whenTriggerName) {
        super();
        this.whenId = whenId;
        this.triggerId = triggerId;
        this.onOff = onOff;
        this.whenTriggerName = whenTriggerName;
    }
    
    public int getWhenId() {
        return whenId;
    }
    
    public void setWhenId(int whenId) {
        this.whenId = whenId;
    }
    
    public int getTriggerId() {
        return triggerId;
    }
    
    public void setTriggerId(int triggerId) {
        this.triggerId = triggerId;
    }
    
    public int getOnOff() {
        return onOff;
    }
    
    public void setOnOff(int onOff) {
        this.onOff = onOff;
    }
    
    public int getNoti() {
        return noti;
    }
    
    public void setNoti(int noti) {
        this.noti = noti;
    }
    
    public String getWhenTriggerName() {
        return whenTriggerName;
    }
    
    public void setWhenTriggerName(String whenTriggerName) {
        this.whenTriggerName = whenTriggerName;
    }
    
}
